package com.jade.zsy.base.entity;

import com.jade.bss.db.IdEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * Created with IntelliJ IDEA.
 * User: jinya
 * Date: 2017/6/3
 * Time: 12:59
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@Data
@Entity
@Table(name = "ZSY_BASE_SKU_PRICE")
public class SkuPrice extends IdEntity {
    @Column(name = "partnerId", nullable = true,updatable = true)
    private long partnerId;  // 合伙伙伴编号
    @Column(name = "skuId", nullable = true,updatable = true)
    private long skuId;  // skuCode
    @Column(name = "sku_code", nullable = true,updatable = true)
    private String skuCode;  // skuCode
    @Column(name = "skuName", nullable = true,updatable = true,length = 100)
    private String skuName; // 商品名称
    @Column(name = "price",precision = 12, scale = 2)
    private BigDecimal price;// 成本价格

    public long getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(long partnerId) {
        this.partnerId = partnerId;
    }

    public long getSkuId() {
        return skuId;
    }

    public void setSkuId(long skuId) {
        this.skuId = skuId;
    }

    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }
}
